<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script>
    <title>Document</title>
</head>
<body>
    <div id="app">
        <h1>{{title}}</h1>
        <ul>
            <li v-for="item in list" :key="item.key">歌曲：{{item.name}} --- 歌手：{{item.auth}}</li>
        </ul>
    </div>
    <script>

        const vm = new Vue({
            el:"#app",
            data() {
                return {
                    title:"Music",
                    list:[{
                        key:1,
                        name:"七里香",
                        auth:"周杰伦"
                    },{
                        key:2,
                        name:"凉凉",
                        auth:"杨宗纬"
                    }]
                }
            },
        })

    </script>
</body>
</html>